package org.qiaice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.qiaice.entity.Dish;
import org.qiaice.entity.dto.DishDTO;
import org.qiaice.entity.dto.DishPageQueryDTO;
import org.qiaice.entity.vo.DishVO;
import org.qiaice.result.PageResult;

import java.util.List;

public interface DishService extends IService<Dish> {

    DishVO queryById(Long id);

    PageResult<DishVO> pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteByIds(List<Long> ids);

    void saveDish(DishDTO dishDTO);

    void change(DishDTO dishDTO);
}
